<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>柴油发电机定期启停详情</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="referrer" content="never" />
		<link rel="stylesheet" href="../../../../css/mui.min.css">
		<link rel="stylesheet" href="../../static/css/common.css" />	
		<link rel="stylesheet" href="../../static/components/components.css" />	
		<link rel="stylesheet" href="../../static/css/terminalwork.css" />	
		<script src="../../../../js/mui.min.js"></script>
		<script src="../../../../js/vue.js"></script>
		<script type="text/javascript" src="../../../../js/jquery-3.2.1.min.js"></script>
		<script type="text/javascript" src="../../static/js/neiosRequst.js"></script>  <!--请求接口页面必需-->
		<script src="../../static/js/neiosCommon.js"></script>  <!--公共js页面必需-->
		<script src="../../static/js/upLoadHelper.js"></script>
		<script src="../../static/components/processLog.js"></script>
		<style>
			.defect-info-list{
				border-bottom:1px solid #ddd;
				margin:0 0 8px
			}
			.defect-info-list:last-child{
				border-bottom:none;
				margin:0
			}
		</style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav mui-bar-nav-bg">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">柴油发电机定期启停</h1>
		</header>
		<div class="mui-content" id="storBattery">
			<div class="main_box">
				<div class="main_icon"></div>
				<div class="main_icon1"></div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">基础信息</div>
				</div>
				<div style="margin:3vw 0 5vw">
					<div class="neios-form-item">
						<div class="neios-form-item-lable" style="width:35%;">设备型号</div>
						<div class="neios-form-item-con" style="width:65%;">
							{{deviceSwitch.deviceName}}
						</div>
					</div>
					<div class="neios-form-item">
						<div class="neios-form-item-lable" style="width:35%;">功率（KW）</div>
						<div class="neios-form-item-con" style="width:65%;">
							{{deviceSwitch.power}}
						</div>
					</div>
					<div class="neios-form-item">
						<div class="neios-form-item-lable" style="width:35%;">生产厂家</div>
						<div class="neios-form-item-con" style="width:65%;">
							{{deviceSwitch.factory}}
						</div>
					</div>
					<div class="neios-form-item">
						<div class="neios-form-item-lable" style="width:35%;">试验时间</div>
						<div class="neios-form-item-con" style="width:65%;">
							{{deviceSwitch.switchDate || nowDate}}
						</div>
					</div>
					<div class="neios-form-item">
						<div class="neios-form-item-lable" style="width:35%;">试验切换人员</div>
						<div class="neios-form-item-con" style="width:65%;">
							{{'[' + deviceSwitch.switchStaffCode + ']' + deviceSwitch.switchStaffName}}
						</div>
					</div>
				</div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">试验内容</div>
				</div>
				<div style="margin:3vw 0 5vw">
					<div v-for="(item,index) in checkItemNoteList" :key="index"  class="defect-info-list">
						<div class="neios-form-item">
							<div class="neios-form-item-lable" style="width:35%;">切换试验内容</div>
							<div class="neios-form-item-con" style="width:65%;">
								{{item.checkItemContent}}
							</div>
						</div>
						<div class="neios-form-item">
							<div class="neios-form-item-lable" style="width:35%;">结果</div>
							<div class="neios-form-item-con" style="width:65%;">
								{{dictChange(item.checkItemResult)}}
							</div>
						</div>
					</div>
				</div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">试验结论</div>
				</div>
				<div style="margin:3vw 3vw 5vw">
					<div class="neios-form-item">
						<div class="neios-form-item-con" style="width:100%;">
							{{deviceSwitch.switchRemark}}
						</div>
					</div>
				</div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">附件</div>
				</div>
				<div style="margin:3vw 3vw 0">
					<div class="nodata-tips" v-if="fileList.length == 0">暂无附件！</div>
					<div style="margin:3vw 0 5vw" v-else>
						<div class="neios-form-item" v-for="item in fileList">
							<div class="neios-form-item-lable" style="width:80%;text-align:left;">{{item.fileName}}</div>
							<div class="neios-form-item-con" style="width:20%;text-align:right">
								<div style="color:#004A86" v-on:click="downloadFile(item)">下载</div>
							</div>
						</div>
					</div>
				</div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">流程日志</div>
				</div>
				<div style="margin:3vw 3vw 0">
					<processlog :processlogid='parentObject.workId'></processlog>
				</div>
			</div>
			<div style="width: 100%;height: 60px;"></div>
			<div class="flex-between fixed-bottom">
				<button class="submit_btn" @click="goBack()">返回</button>
			</div>
		</div>
	</body>
	<script src="js/dieselGerDet.js"></script>
</html>
